package com.sangeng.service;

import com.sangeng.domain.ResponseResult;
import com.sangeng.domain.dto.AddUserDto;
import com.sangeng.domain.dto.UpdateUserDto;
import com.sangeng.domain.vo.PageVo;
import com.sangeng.domain.vo.UserVo;

import java.util.List;

public interface UserService {
    public ResponseResult<String> deleteUserById(List<Long> idList);

    public ResponseResult<UserVo> getUserById(Long id);

    public ResponseResult<String> updateUser(UpdateUserDto userDto);

    public ResponseResult<PageVo> getUserByUserName(Integer pageNum, Integer pageSize, String userName, String status);

    ResponseResult<String> addUser(AddUserDto userDto);
}
